Skip to content

Fix: fix pax test with orca when upgrade to PG16#1679

Draft
lss602726449 wants to merge 6 commits intoapache:cbdb-postgres-mergefrom
lss602726449:fix_orca_perminfo
Draft

Fix: fix pax test with orca when upgrade to PG16#1679
lss602726449 wants to merge 6 commits intoapache:cbdb-postgres-mergefrom
lss602726449:fix_orca_perminfo

Conversation

@lss602726449
Copy link
Copy Markdown
Contributor

Fixes #ISSUE_Number

What does this PR do?

Type of Change

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change (fix or feature with breaking changes)
  • Documentation update

Breaking Changes

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Passed make installcheck
  • Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

CI Skip Instructions


@lss602726449 lss602726449 marked this pull request as draft April 14, 2026 06:33
@lss602726449 lss602726449 force-pushed the fix_orca_perminfo branch 3 times, most recently from a2ba9cc to ae698fb Compare April 22, 2026 08:11
liushengsong and others added 6 commits April 22, 2026 16:15
PG16 replaced AggInfo.representative_aggref (single pointer) with
AggInfo.aggrefs (List). Also use makeNode(AggInfo) instead of raw
GPDBAlloc to properly initialize NodeTag.
Update pg16-merge-validation workflow to use the correct
cloudberry-env.sh script name for sourcing environment variables.
Replace bundled Python source packages with pip3 download to comply with
Apache Release policy.

- Remove 7 bundled tar.gz packages from gpMgmt/bin/pythonSrc/ext/
- Add download-python-deps target using pip3 download
- Update build targets to depend on download step
- Preserve original compilation logic and --with-pythonsrc-ext functionality
- Update LICENSE, python-dependencies.txt, and Windows build script
- Add .gitignore rules for downloaded files

This maintains the same build behavior while ensuring Apache compliance
by removing third-party packages from source tree.

See: apache#961
Replace pip3 download commands with curl for downloading psutil,
PyYAML, PyGreSQL and mock packages in gpMgmt/bin/Makefile.

This change unifies the download mechanism to use curl consistently
for all Python dependencies, avoiding potential pip3 download
compatibility issues across different environments.

Changes:
- Remove pip3 download commands for psutil, PyYAML, PyGreSQL & mock
- Use curl to download packages directly from PyPI
- Maintain existing wheel and cython installation for PyYAML build
- Keep the same package versions and download locations

Also, add curl and pip3 dependency detection in configure.ac file for
better user experience. When `--with-pythonsrc-ext` option is enabled,
configure can check the required dependencies early.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants